From: Jasper St. Pierre Date: Fri, 27 Jun 2014 15:59:10 +0000 (-0400) Subject: layout: Make the dummy cursor invisible X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2372 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=41a3f1093857415cebae09ef158d0b2589f42861;p=gnome-shell.git layout: Make the dummy cursor invisible This means that moving it around won't attempt to cause a full redraw of the stage. Yikes. --- diff --git a/js/ui/layout.js b/js/ui/layout.js index faa10f601..789097e1d 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -224,7 +224,7 @@ const LayoutManager = new Lang.Class({ // A dummy actor that tracks the mouse or text cursor, based on the // position and size set in setDummyCursorGeometry. - this.dummyCursor = new St.Widget({ width: 0, height: 0 }); + this.dummyCursor = new St.Widget({ width: 0, height: 0, visible: false }); this.uiGroup.add_actor(this.dummyCursor); global.stage.remove_actor(global.top_window_group);